import Vue from 'vue'
import App from './App.vue'
import router from './router'
<<<<<<< HEAD
import store from './store'
import request from './common/request.js'
<<<<<<< HEAD
import { Tabbar, TabbarItem, Search} from 'vant';
import {NavBar} from 'vant';
import { List } from 'vant';
import {Tab, Tabs} from 'vant'
import { Swipe, SwipeItem } from 'vant';
import { Image as VanImage,Lazyload } from 'vant';
=======
import { Tabbar, TabbarItem, Search, Col, Row, Image as VanImage} from 'vant';
>>>>>>> 01397fd916f4be147ca495dafb96625c2c5220db

Vue.use(Lazyload);
Vue.use(VanImage);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Search);
<<<<<<< HEAD
Vue.use(NavBar);
Vue.use(List);
=======
Vue.use(Col);
Vue.use(Row);
Vue.use(VanImage);
>>>>>>> 01397fd916f4be147ca495dafb96625c2c5220db

Vue.config.productionTip = false
//通过prototype原型添加为vue实例的全局属性
Vue.prototype.$request = request.httpRequest
=======
import store from './store';
import requsst from './common/request'
import { Tabbar, TabbarItem, Search } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Image as VanImage, Lazyload } from 'vant';
import { NavBar, List } from 'vant'
import { Tab, Tabs } from 'vant';

Vue.use(Tab);
Vue.use(Tabs);
//import store from './store'
//import { Tabbar, TabbarItem, Search } from 'vant'
//import request from './common/request.js'
//import { Image as VanImage, Lazyload } from 'vant'
//import { NavBar,List } from 'vant';

Vue.use(VanImage);
Vue.use(Lazyload);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Search);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(NavBar);
Vue.use(List);


Vue.config.productionTip = false
// 通过prototype原型添加为Vue全局属性
Vue.prototype.$request = requsst.httpRequest
Vue.filter("numFilter", function (value, num) {
  return parseFloat(value / 10000).toFixed(num)
})

>>>>>>> 8b1caf6 (热门歌曲)

//添加全局过滤器
Vue.filter('numFilter', function (value, num) {
  return parseFloat(value / 10000).toFixed(num);
})

new Vue({
  router,
  store,
  render: h => h(App)
<<<<<<< HEAD
}).$mount('#app')
=======
}).$mount('#app')

>>>>>>> 01397fd916f4be147ca495dafb96625c2c5220db
